Summary

Creates a dropdown filled with available languages within the MLC. This component is useful in MLC documents only and the text of the links is the language name, translated or not.
Language dropdown is similar to the Insert links to MLC siblings component but it fills a dropdown control with sibling languages rather than a set of links. 

Component properties
Category AS MLC
Version 1.0
Complies with Xhtml 1.0 / 1.1 rules Yes
Supported server programming languages C# Visual Basic.NET
Output content type inline

When to use

This component is typically used in a multi language Web site when there is a need for the user to select another language version of a document.

Programming interface

Parameters

Use root document
Check only if this component is used in an include document. This will cause the component to use the document that this document is included in rather that the current document.
Lookup presentation template
Check this to do an MLC lookup on the presentation template. If you set this parameter the presentation template must be an MLC member or located in an MLC member category.
Lookup referrer
Check this to do an MLC lookup on the referrer document retreived from the component redirect to other document. If you set this parameter the referrer document must be an MLC member or located in an MLC member category.
Dropdown options
Class name
A name of a CSS class that is used to style the dropdown control.
Attributes
Optional attributes for the dropdown element, ex. id="Select1". The value of this property must either be empty or a valid attribute syntax. If this syntax is invalid an error will be generated.
Do not display country
Prevent the component from displaying country information. Thus Swedish - Sweden will be Swedish.
Translation options
  • Default language name
    Displays the link with the default language name (in English)
  • Translate to current
    Displays the link as translated to the actual document's language. Ex. if the current page is in Swedish and the linked document is in English this will be "Engelska". If no translation is available the default language name is used.
  • Translate to linked
    Displays the link translated to the language of the linked language. Ex. if the current page is in Swedish and the linked document is in English this will be "English". If no translation is available the default language name is used.
  • Combine current and linked
    Displays the link as a combination of the the current and linked alternatives. Ex. if the current document is in Swedish and the linked is in English the link will be visible as "Engelska (English)". If no translation is available the default language name is used.

Remarks

This component requires the MLC (Multi language clustering) functionality in Content Studio.